//
//  WJYBaseModel.m
//  WWLNetease
//
//  Created by dllo on 15/12/23.
//  Copyright © 2015年 Echo.Jobs. All rights reserved.
//

#import "WJYBaseModel.h"

@implementation WJYBaseModel

- (instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)modelWithDictionary:(NSDictionary *)dic
{
    return [[self alloc] initWithDictionary:dic];
}

// 容错方法
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
